<?php
    //ob_start();
    $id = $_GET['sid'];
    
    $bs = new loaimaytinhbs();
    $bs->MaLoai = $id;
    $bs->Delete();    
    $_SESSION['xoathanhcong'] = '';
            
    header("Location: index.php?do=danhsach_loaimaytinh");
?>